package com.yuyang.gulimall.order.fegin;

import com.yuyang.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author yu yang
 * @date 2023/2/4 -16:01
 */
@FeignClient("gulimall-member")
public interface MemberFeignService {
    @GetMapping("member/memberreceiveaddress/{memberId}/address")
    public R getMemberReceiveAddress(@PathVariable("memberId")Long memberId);


}
